package com.atshiyou.test2;

import com.atshiyou.mvc.ResponseBody;
import com.atshiyou.mvc.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class XXXController {

    @ResponseBody("/test1.do")
    public String text1(HttpServletRequest request, HttpServletResponse response){
        return "hahah";
    }

    @ResponseView("/test3.do")
    public String text2(HttpServletRequest request, HttpServletResponse response){
        return "xxx.html";
    }
}
